<?php
namespace Api\Service;

/**
 * 银行
 */
class BankService
{
    /**
     * 银行列表
     * @param  [type] $user_id [description]
     * @return [type]          [description]
     */
    public function lists($user_id)
    {
        $banks = M('bank')
            ->field('id,code,name,logo')
            ->order('sort desc, id desc')
            ->select();

        return $banks;
    }
}
